package com.ht.domin.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * 科普号关注实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
//数据库中对应的数据库名
@Document(collection = "focus")
public class FocusVO {

    @Id
    @Field("_id")
    private String id;
    //用户
    private String user;
    //医生名称
    @Field("doctor_name")
    private String doctorName;
    //医生所属医院
    @Field("hospital_name")
    private String hospitalName;
    //医生所属科室名称
    @Field("department_name")
    private String departmentName;
    //文章标题
    @Field("article_title")
    private String articleTitle;
    //文章内容
    private String article;
    //文章发表时间
    @Field("published_time")
    private String publishedTime;
    //图文文章数量
    @Field("graphic_num")
    private Long graphicNum;
    //语音文章数量
    @Field("voice_num")
    private Long voiceNum;
    //小视频
    @Field("video_num")
    private Long videoNum;
    //案例
    @Field("case_num")
    private Long caseNum;
    //帖子
    private Long post;
    //直播义诊
    private Long live;
    //关注时间
    @Field("create_time")
    private String createTime;

}
